@keyframes shake {
  0%, 100% {
    transform: rotate(12deg);
  }
  25% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(12deg);
  }
  75% {
    transform: rotate(0deg);
  }
}

@keyframes ring {
  0% {
    transform: rotate(12deg);
  }
  5%, 15% {
    transform: rotate(15deg);
  }
  10%, 20% {
    transform: rotate(9deg);
  }
  25% {
    transform: rotate(12deg);
  }
  100% {
    transform: rotate(12deg);
  }
}

.notification-card {
  @keyframes bell-ring {
    0%, 100% {
      transform: rotate(15deg);
    }
    25% {
      transform: rotate(-15deg);
    }
    50% {
      transform: rotate(10deg);
    }
    75% {
      transform: rotate(-10deg);
    }
  }

  .notification-icon {
    animation: bell-ring 2s ease-in-out infinite;
    transform-origin: top center;
    
    &:hover {
      animation-duration: 1s;
    }
  }

  // 卡片样式
  &.ant-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    &:hover {
      transform: translateY(-4px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .ant-card-body {
      padding: 20px;
    }
  }

  // 图标容器
  .icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
  }

  // 标题样式
  .title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    transition: color 0.3s;

    &:hover {
      color: #3b82f6;
    }
  }

  // 时间标签
  .time-tag {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 4px 12px;
    color: #6b7280;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  // 内容区域
  .content {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin-right: 16px;
  }

  // 查看详情按钮
  .detail-button {
    padding: 4px 8px;
    color: #3b82f6;
    transition: all 0.3s;
    border-radius: 6px;

    &:hover {
      background: rgba(59, 130, 246, 0.1);
      color: #2563eb;
    }

    .anticon {
      font-size: 14px;
      margin-right: 4px;
    }
  }
}
